﻿#ifndef T_TEMPLATEDEFINEDWIDGET_H
#define T_TEMPLATEDEFINEDWIDGET_H

#include <ElaWidget.h>
class ElaComboBox;
class ElaLineEdit;
namespace GenerateReport
{
    class T_TemplateDefinedWidget : public ElaWidget
    {
        Q_OBJECT
    public:
        explicit T_TemplateDefinedWidget(QWidget* parent = nullptr);
        ~T_TemplateDefinedWidget();

    private slots:
        void slot_createNewTemplateButtonClicked();
        void slot_editTemplateButtonClicked();
        void slot_cancelButtonClicked();
        void slot_confirmButtonClicked();

    private:
        void updataUI();
        void setErrorMessagePrompt(QString errorMessage);

    private:
        ElaComboBox* m_templateCallComboBox;
    };
}

#endif // T_TEMPLATEDEFINEDWIDGET_H
